<?php

return array(
    'appMeta' => array(
        'appName' => 'OnlineAppointment',
        'description' => 'Online appointment application',
        /* means visible to all Space except personal Space 
         */
        'visible' => array('scope' => BSpace::PERSONALSpaceTYPE,
            'scopeType' => BApp::SpaceTYPESCOPETYPE, 'applyRule' => BApp::EXCLUDEAPPLYRULE)
    ),
    'appRoles' => array(

    ),
    'appOperations' => array(
        'addQueueLine' => array('name' => 'Add Queue-Line',
            'permit' => array('allowAccess' => BBasicRolesTemplate::Space_ADMIN_ROLE),
            'startScreen' => 'BScreenAddQueueLine'),
        'configQueueLine' => array('name' => 'Configure Queue-Line',
            'permit' => array('allowAccess' => BBasicRolesTemplate::Space_ADMIN_ROLE),
            'startScreen' => 'BScreenConfigQueueLine'),
        'processQueue' => array('name' => 'ProcessQueue',
            'permit' => array('allowAccess' => BBasicRolesTemplate::WORKTEAM_MEMBER_ROLE),
            'startScreen' => 'BScreenProcessQueue'),
        'makeQueue' => array('name' => 'MakeQueue',
            'permit' => array('allowAccess' => BBasicRolesTemplate::SERVEDTEAM_MEMBER_ROLE),
            'startScreen' => 'BScreenMakeQueue')
    ),
    'dbconnection'=>array(
        'default'=>'billeendb2',
        'localdb'=>array(
            'connectString'=>'mysql:host=localhost;dbname=bilynapp',
            'user'=>'blndba',
            'password'=>'blnpwd'
        ),
        'billeendb2'=>array(
            'connectString'=>'mysql:host=billeencom.ipagemysql.com;dbname=billeendb2',
            'user'=>'billeendba',
            'password'=>'dba@billeendb'
        ),
    )
    
);
?>
